<ul>
    {volist name="messages" id="message" key="k" empty=""}
    <li>{$k}</li>
    {/volist}
</ul>